import { NestFactory } from '@nestjs/core';
import { AppModule } from './app.module';
// import { SwaggerService } from '@wwjCommon/swagger/swagger.service';

async function bootstrap() {
  const app = await NestFactory.create(AppModule);

  // 暂时禁用 Swagger 文档
  // const swaggerService = app.get(SwaggerService);
  // swaggerService.setupSwagger(app);

  await app.listen(process.env.PORT ?? 3001);
}
bootstrap();
